package cn.tedu._05mvcboot02.commen.response;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * 状态码枚举类
 */
@Getter
@NoArgsConstructor
@AllArgsConstructor
public enum StatusCode {
    OPERATION_SUCCESS(2000,"操作成功"),
    OPERATION_FAILED(3000,"操作失败"),
    THROWABLE_ERROR(4000,"Throwable异常!");

    private Integer code;
    private String msg;

}
